<div class="complaint_tasks" id="<%="comp_#{complaint.id}"%>">
    <div class="support">
      <p class="support_count"><%= complaint.support_count.nil? ? 0 : complaint.support_count %></p>
      <p class="support_task">
        <% if !session[:supported_complaints].nil? and session[:supported_complaints].include?complaint.id %>
          Supported
        <% else %>
          <%= link_to_function "Support","support_complaint(#{complaint.id});" -%>
        <% end %>
      </p>
    </div>
</div>


